package com.bed.lovewithpatientbed.util;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @author xuxiaoding
 * @version 1.0.0
 * @ClassName ErrorMsgUtil.java
 * @Description TODO
 */
public class ErrorMsgUtil {

    /**
     * @title getErrorMsgList
     * @description
     * @author xuxiaoding
     * @param errorMsgArray 封装tErrorMsg
     * @return java.util.List<java.lang.String>
     * @throws
     */
    public static List<String> getErrorMsgList(String[] errorMsgArray) {
        return new ArrayList<>(Arrays.asList(errorMsgArray));
    }
}
